<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('登录')"/>
    <style>
        body{
            background-image: url("../img/login.jpeg");
        }
        .login-ruleForm {
            position: absolute;
            width: 400px;
            height: 400px;
            background-color: #FFFFFF;
            border-radius: 6px;
            padding: 50px 50px 0 0;
            left: 50%;
            top: 50%;
            margin-left: -200px;
            margin-top: -150px;
            box-shadow: #8c939d;
        }
        #login-btn {
            width: 45%;
        }
        #login-btn-1 {
            width: 45%;
        }

        #code-input{
            width: 200px;
        }
        #code-img {
            float: right;
        }
    </style>
</head>
<body>
<div id="app">

    <div>
        <el-form :model="ruleForm" status-icon :rules="rules" ref="ruleForm" label-width="100px" class="login-ruleForm">
            <el-form-item prop="cookie" label-width="20px" >
                <el-input  v-model="ruleForm.cookie" autocomplete="off" placeholder="cookie" prefix-icon="el-icon-lock"></el-input>
            </el-form-item>
            <el-form-item prop="id" label-width="20px" >
                <el-input v-model="ruleForm.id" placeholder="医院ID" prefix-icon="el-icon-user-solid"></el-input>
            </el-form-item>
            <el-form-item prop="pid" label-width="20px" >
                <el-input  v-model="ruleForm.pid" autocomplete="off" placeholder="疫苗ID" prefix-icon="el-icon-lock"></el-input>
            </el-form-item>
            <el-form-item prop="date" label-width="20px" >
                <el-input  v-model="ruleForm.date" autocomplete="off" placeholder="抢购日期（2022-02-23）" prefix-icon="el-icon-lock"></el-input>
            </el-form-item>
            <el-form-item label-width="20px">
                <el-button type="primary" @click="updateConfig('ruleForm')" id="login-btn">获取用户数据</el-button>
                <el-button type="primary" @click="updateConfig('ruleForm')" id="login-btn-1">发起抢购</el-button>
            </el-form-item>
        </el-form>
    </div>

</div>


<th:block th:include="include :: footer"/>
<script th:src="@{/pageVue/login.js}"></script>
</body>
</html>